/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Sara
 */
public class Fecha {
    public boolean esBisiesto(int anio) {
        if(anio%4==0){
            System.out.println("Soy Ivan");
            if(anio%100==0){
                if(anio%400==0){
                    return true;
                }
                else{
                    return false;
                }
            }
            else{
                return true;
            }
        }
        else{
            return false;
        }
    }
}
